<?php
$id = $_POST['id'];

include ("conn.php");
//下面是读取数据
$sql = "SELECT teachers FROM pageList WHERE id = $id";
$result = $conn->query($sql);
 
if ($result->num_rows > 0) {
    // 输出数据
    $row = $result->fetch_assoc();
    echo $row["teachers"];   
}

?>